package com.mmf.service;

import com.mmf.dto.ResponseModel;
import com.mmf.model.Page;

/**
 * Created by MMF on 2017-10-18.
 */
public interface IBaseService<T> {
    ResponseModel insert(T object);

    ResponseModel delete(int id);

    ResponseModel update(T object);

    ResponseModel find(int id);

    ResponseModel list(Page page, String userId, String goodsId);
}
